package com.gitee.ykr.lightweight.rpc.common.enums;

import com.gitee.ykr.lightweight.rpc.common.constant.ConfigConstants;

/**
 * 负载均衡策略
 * @author YKR
 * @Describe
 * @date 2021/8/23
 */
public enum LoadBalancerType {
    RANDOM(ConfigConstants.LB_RANDOM),ROUND_ROBIN( ConfigConstants.LB_ROUNDROBIN);

    private String type;

    LoadBalancerType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
